﻿namespace Sharemarker.Common.Contracts
{
    using System.ServiceModel;

    /// <summary>
    /// 
    /// </summary>
    [ServiceContract]
    public interface ISecurityCheckService
    {
        #region Public Methods and Operators

        /// <summary>
        /// Doeses the account existed in system.
        /// </summary>
        /// <param name="username">The username.</param>
        /// <param name="password">The password.</param>
        /// <returns></returns>
        [OperationContract]
        bool DoesAccountExistedInSystem(string username, string password);

        #endregion
    }
}